package com.job.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID=1L;


      @TableId(value = "user_id")
      private String userId;
      private String username;
      private String password;
      private String nickname;
      private Integer type;
      private String phone;
      private String email;
      private String sex;
      private String enrollmentYear;
      private String salt;
      private String avatar;
    @TableLogic(value="0",delval="1")
    @TableField("del_flag")
    private Boolean delFlag;


}
